home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10928 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: rcp6.elan.af.mil!rscernix!danpop
  2. From: danpop@mail.cern.ch (Dan Pop)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Invalid Indirection???
  5. Date: 16 Mar 96 22:03:37 GMT
  6. Organization: CERN European Lab for Particle Physics
  7. Message-ID: <danpop.827013817@rscernix>
  8. References: <4i7cck$t67@infa.central.susx.ac.uk> <4iah9k$r02@newshost.cyberramp.net> <TANMOY.96Mar15111443@qcd.lanl.gov> <314B3D54.266E@biddeford.com>
  9. NNTP-Posting-Host: ues5.cern.ch
  10. X-Newsreader: NN version 6.5.0 #7 (NOV)
  11.  
  12. In <314B3D54.266E@biddeford.com> Tim Steiger <tsteiger@biddeford.com> writes:
  13.  
  14. >Tanmoy Bhattacharya wrote:
  15. >> 
  16. >> In article <4iah9k$r02@newshost.cyberramp.net>
  17. >> sinan@cyberramp.net (John Noland) writes:
  18. >> 
  19. >> JN: In article <4i7cck$t67@infa.central.susx.ac.uk>, taux5@central.susx.ac.uk says...
  20. >> JN: >
  21. >> JN: > tmp = (tempi[i]*tempj[i])+(tempi[i+1]*tempj[i+1]));
  22. >> JN: >
  23. >> JN: >/* This is where the compiler stops and says there's an invalid
  24. >> JN: >indirection for the "tmp" assignment */
  25. >> JN:
  26. >> JN: To multiply, you need whitespace. Check the lexical conventions for the
  27. >> 
  28. >> Why?
  29.  
  30. >go read about unary operators...
  31.  
  32. Why?  I can't see _any_ unary operator here and whitespace has absolutely
  33. nothing to do with unary operators, anyway.  If '*' occurs between two
  34. operands, it is a binary operator, no matter the amount of whitespace
  35. surrounding it (or lack thereof).
  36.  
  37. I'm afraid I have to reiterate my appeal to idiots and ignorants to refrain
  38. from posting answers/comments to this newsgroup.
  39.  
  40. BTW, there is no need to quote a full article just to add five words.
  41.  
  42. BTW2, make sure you don't put your original "contribution" on a line
  43. already containing quoted text.  Finding the five words was by no means
  44. trivial (I did some editing, so that other people can understand who said
  45. what).
  46.  
  47. Dan
  48. --
  49. Dan Pop
  50. CERN, CN Division
  51. Email: danpop@mail.cern.ch 
  52. Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
  53.